body {
  font-family: Arial;
  margin: 0;
  padding: 0px;
  background-color: #f5f5f5;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

#preview-container,
#docx-container,
#pptx-container,
#excel-container {
  border: 0px solid #ddd;
  padding: 0px;
  margin-top: 0px;
  min-height: 80vh;
  margin: 0 auto;
  background: white;
}

.error {
  color: #f44336;
  padding: 10px;
  background: #ffeeee;
  border-left: 4px solid #f44336;
}

.loading {
  color: #2196f3;
  text-align: center;
  padding: 20px;
}

#sheet-tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  overflow: auto;
}

.sheet-tab {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid #ddd;
  border-bottom: none;
  margin-right: 5px;
  background: #f5f5f5;
  border-radius: 5px 5px 0 0;
}

.sheet-tab.active {
  background: #4caf50;
  color: white;
  border-color: #4caf50;
}

#excel-preview {
  margin-top: 10px;
  overflow: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}
